home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Click 1 (Special Issue)
/
fantasy.iso
/
Demo The Druid King
/
DemoMap.pak
/
SEQUENCES_S01_MILYS_MESSENGER.VS
< prev
next >
Wrap
Text File
|
2001-04-11
|
1KB
|
43 lines
//void
//a messenger from wkorthe comes to Keltill to announce the death of Milys
Unit Gaul;
NamedObj Keltill, Villager;
Conversation conv;
Keltill = GetNamedObj("Keltill");
if (Keltill.IsDead()) {
pr("Keltill is dead?!? This cannot possibly happen!");
return;
}
Gaul = PlaceEx("GaulMessenger1", 800, 5000, 4);
//Gaul.AddCommand(true,"follow",Keltill.obj);
Gaul.AddCommand(true,"approach",Keltill.obj);
Gaul.KillCommand();
Villager = CreateNamedObj("Villager", Gaul);
/*
while (1) {
if (Dist(Gaul.pos, Keltill.obj.pos) < 350) break;
Sleep(500);
} */
while (Gaul.script == "approach") Sleep(500);
conv.Init("DM C3", 2, 0);
//conv.SetActor("Keltill", Keltill.obj.AsUnit,"");
//conv.SetActor("Villager", Gaul, "assets/classes/images/demoactors/messenger.bmp");
conv.Run();
Gaul.SetPlayer(1);
Gaul.AddCommand(true,"attach", Keltill.obj);
Gaul.KillCommand();
EnvWriteString("/NewNote", 1);
Run("currentmap/mission_notes.vs");
Sleep(20000);
EnvWriteString("/NewNote", 2);
Run("currentmap/mission_notes.vs");